package com.xqboss.apps.domain.damaigou;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 *     大麦购积分记录
 * </p>
 * @author Trent
 * @date 2023/9/4
 */
@Data
@ApiModel
public class DamaigouIntegralRecord {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("订单ID")
    private String orderId;

    @ApiModelProperty("积分数量")
    private BigDecimal amount;

    @ApiModelProperty("积分识别码")
    private String integralCode;

    @ApiModelProperty("积分状态")
    private Integer status;

    @ApiModelProperty("回退原因")
    private String reason;

}
